package com.zhuangxiaoyan.helloworld.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname SayHelloController
 * @Description TODO
 * @Date 2022/4/22 12:25
 * @Created by xjl
 */
@RestController
public class SayHelloController {
    /**
     * @description TODO 
      * @param: 
     * @date: 2022/4/22 12:32
     * @return: java.lang.String
     * @author: xjl
    */
    @GetMapping("/hello")
    public String sayHello() {
        String messages="hello springboot world ";
        System.out.println(messages);
        return messages;
    }
}
